<?php

use Illuminate\Database\Seeder;

class ContentModelSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        //通过ContentModel模型向相应数据表中创建种子数据
        \App\Models\ContentModel::create([
            'title'=>'系统默认模型',
            'fields' => [],
            'is_system' => 1,
        ]);
    }
}
